<?php
/*
 *
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

// No direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

/**
 * Tabla Materias
 */
class TableMaterias extends JTable
{
	/**
	 * Primary Key
	 *
	 * @var int
	 */
	var $materia_id = null;

	/**
	 * @var string
	 */
	var $codigo = null;

    /**
	 * @var string
	 */
	var $nombre = null;

        /**
	 * @var string
	 */
	var $descripcion = null;

        /**
	 * @var string
	 */
	var $activa = 'S';


	/**
	 * Constructor
	 *
	 * @param object Database connector object
	 */
	function TableMaterias(& $db) {
		parent::__construct('#__materias', 'materia_id', $db);
	}
}

?>
